package com.cuicuisha.gxyp.manager.service;

import com.cuicuisha.gxyp.model.dto.system.SysRoleDto;
import com.cuicuisha.gxyp.model.entity.system.SysRole;
import com.github.pagehelper.PageInfo;

import java.util.Map;

/**
 * ClassName: SysRoleService
 * Description:
 *
 * @Author 脆脆鲨
 * @Create 2024-09-11 22:56
 * @Version 1.0
 */
public interface SysRoleService {

    public PageInfo<SysRole> findByPage(SysRoleDto sysRoleDto, Integer pageNum, Integer pageSize);

    void saveSysRole(SysRole sysRole);

    void updateSysRole(SysRole sysRole);

    void deleteById(Long roleId);

    Map<String, Object> findAllRoles(Long userId);
}
